@import 'public';

.header-title {
    width: 100%;
    height: 2.2rem;
    line-height: 2.2rem;
    text-align: center;
    background: #fff;
    position: relative;
    z-index: 100;
    border-bottom: 2px solid @boderColor;
    .left {
        display: block;
        float: left;
        vertical-align: middle;
        width: 0.6rem;
        height: 0.87rem;
        position: absolute;
        left: 0.9rem;
        top: 0.75rem;
    }
    em {
        float: right;
        display: inline-block;
        font-size: 0.85rem;
        color: #444;
        position: absolute;
        font-style: normal;
        right: 0.9rem;
        a{
             font-size: 0.85rem;
             color: #444;
             font-family: 'pfr';
        }
    }
    span {
        font-size: 0.95rem;
        color: #444;
        font-family: "pfb";
    }
}
#searchBar {
    margin-top: 2.2rem;
    background-color: #fff;
    margin-bottom: 0.3rem;
}
.weui-search-bar:after {
    border-bottom: none;
}
.weui-search-bar {
    padding: 0.3rem 1.1rem;
}
.order-content {
    width: 100%;
    padding: 0 1.1rem;
    height: auto;
    overflow: hidden;
    box-sizing: border-box;
//  margin-bottom: 2.5rem;
    .order-list {
        width: 100%;
        height: auto;
        li {
            width: 100%;
            height: auto;
            position: relative;
            border-bottom: 1px solid @boderColor;
            p {
                height: 0.85rem;
                font-size: 0.85rem;
                line-height: 0.85rem;
                color: #444;
                span {
                    font-size: 0.85rem;
                }
            }
            .first_p {
                font-family: 'pfb';
                margin-top: 1.05rem;
                
            }
            .second_p {
                font-family: 'pfb';
                margin-top: 0.85rem;
            }
            .third_p {
                margin-top: 0.85rem;
                margin-bottom: 0.85rem;
                b {
                    color: @bgColor;
                    float: right;
                    font-weight: normal;
                    font-family: 'pfb';
                }
            }
            .four_p{
                margin-bottom: 1.05rem;          
                span{
                     width: 4.5rem;
                     height: 0.9rem;
                     border: 1px solid @bgColor;
                     color: @bgColor;
                     display: block;
                     text-align: center;
                     line-height: 0.9rem;
                     font-size: 0.6rem;
                     border-radius: 0.15rem;
                     font-family: 'pfb';
                }
            }
            img {
                    position: absolute;               
                    width: 0.45rem;
                    height: auto;
                    vertical-align: middle;
                    margin-top: 0.25rem;
                    right: 0;
                    top: 25%;
                }
        }
    }
}
.addNeworder,
.orderInfor-warp,
.transport-warp {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-top: 2.2rem;
    font-size: 0.85rem;
    .identity-type {
        width: 100%;
        height: 1.55rem;
        background: #e2e2e2;
        line-height: 1.55rem;
        span {
            font-size: 0.9rem;
            color: @bgColor;
            padding-left: 1.1rem;
            font-family: 'pfb';
        }
        i {
            display: inline-block;
            float: right;
            padding-right: 1.1rem;
            font-family: 'pfr';
            font-size: 0.85rem;
            font-style: normal;
            color: @bgColor;
        }
    }
    .essen_list {
        width: 100%;
        box-sizing: border-box;
        padding: 0 1.1rem;
        height: auto;
        overflow: hidden;
        position: relative;

        p {
            line-height: 1.7rem;
            em {
                font-style: normal;
                font-family: 'pfr';
                padding-left: 0.4rem;
            }
            b {
                float: right;
                font-weight: normal;
                font-family: 'pfb';
            }
        }
        p:first-child {
            margin-top: 0.6rem;
        }
        .last_p {
            width: 100%;
            padding: 0 0.8rem;
            box-sizing: border-box;
            height: auto;
            font-size: 0.85rem;
            color: #444;
            line-height: 1.3rem;
            font-family: 'pfb';
            margin-bottom: 1.25rem;
        }
    }
    .essen_after:after {
        content: " ";
        position: absolute;
        left: 1.1rem;
        right: 1.1rem;
        height: 1px;
        color: @boderColor;
        z-index: 2;
        bottom: 0;
        border-bottom: 2px solid @boderColor;
        -webkit-transform-origin: 0 100%;
        transform-origin: 0 100%;
        -webkit-transform: scaleY(.5);
        transform: scaleY(.5);
    }
    .material-list {
        width: 100%;
        padding: 0 1.1rem;
        box-sizing: border-box;
        height: auto;
        overflow: hidden;
        .material_list {
            li {
                width: 100%;
                font-size: 0.85rem;
                margin-top: 0.75rem;
                padding-bottom: 0.75rem;
                border-bottom: 1px solid @boderColor;
                p {
                    width: 100%;
                    overflow: hidden;
                    color: #444;
                    b {
                        float: right;
                        font-weight: normal;
                        font-family: 'pfb';
                        em {
                            padding-left: 0.5rem;
                            font-style: normal;
                            font-family: 'pfr';
                        }
                    }
                    line-height: 1.7rem;
                    img {
                        float: right;
                        display: inline-block;
                        width: 0.45rem;
                        height: auto;
                        vertical-align: middle;
                        margin-top: 0.5rem;
                    }
                }
                p:first-child {
                    font-family: 'pfb';
                }
            }
            li:last-child {
                border-bottom: 0;
            }
        }
        .material_photo_list{
            margin-bottom: 1.5rem;
            float: left;
            li{
                width: 3.8rem;
                height: 3.8rem;
                float: left;
                position: relative;
                margin-right: 0.38rem;
                img{
                    width: 100%;
                    height: auto;
                }
            }
            li:nth-child(4n){
                margin-right: 0;
            }
        }
        .weui-uploader__files {
//          margin-bottom: 1.5rem;
//          float: left;
            .weui-uploader__file {
                width: 3.5rem;
                height: 3.8rem;
                float: left;
                position: relative;
                margin-right: 0.35rem;
                .delete{
                    width: 1rem;
                    position: absolute;
                    right: 0.25rem;
                    top: 0.25rem;
                    height: auto;
                }
            }
            .weui-uploader__file:nth-child(4n) {
                margin-right: 0;
            }
        }
    }
    .contract-scans {
        width: 100%;
        padding: 0 1.1rem;
        overflow: hidden;
        height: auto;
        box-sizing: border-box;
        p {
            line-height: 3.35rem;
            height: 3.35rem;
            width: 100%;
            border-bottom: 1px solid @boderColor;
            img {
                float: right;
                display: inline-block;
                width: 0.45rem;
                height: auto;
                vertical-align: middle;
                margin-top: 1.3rem;
            }
        }
        p:last-child {
            border-bottom: 0;
            margin-bottom: 0.25rem;
        }
    }
    .ponderation-info {
        .ponderation-info-warp {
            width: 100%;
            height: auto;
            padding: 0 1.1rem;
            overflow: hidden;
            box-sizing: border-box;
            position: relative;
            p {
                width: 100%;
                overflow: hidden;
                line-height: 1.7rem;
                b {
                    float: right;
                    font-weight: normal;
                    font-family: 'pfb';
                    em {
                        font-style: normal;
                        padding-left: 0.4rem;
                        font-family: 'pfr';
                    }
                }
            }
            p:first-child {
                margin-top: 0.4rem;
            }
            p:last-child {
                margin-bottom: 0.4rem;

            }
        }
        .ponderation-info-warp:after {
            content: " ";
            position: absolute;
            left: 1.1rem;
            right: 1.1rem;
            height: 1px;
            color: @boderColor;
            z-index: 2;
            bottom: 0;
            border-bottom: 2px solid @boderColor;
            -webkit-transform-origin: 0 100%;
            transform-origin: 0 100%;
            -webkit-transform: scaleY(.5);
            transform: scaleY(.5);
        }
    }
}
.transport-warp {
    .transport_after {
        padding-bottom: 0.8rem;
    }
    .transport_after2:after {
        content: " ";
        position: absolute;
        left: 1.1rem;
        right: 1.1rem;
        height: 1px;
        color: @boderColor;
        z-index: 2;
        bottom: 0;
        border-bottom: 2px solid @boderColor;
        -webkit-transform-origin: 0 100%;
        transform-origin: 0 100%;
        -webkit-transform: scaleY(.5);
        transform: scaleY(.5);
    }
    .transport_photo_list {
        width: 100%;
        height: auto;
        overflow: hidden;
        margin-bottom: 1.5rem;
        margin-top: 1.25rem;
        li {
            width: 4.7rem;
            height: auto;
            float: left;
            margin-right: 1.2rem;
            img {
                width: 100%;
                height: 2.95rem;
            }
            span {
                width: 100%;
                display: block;
                float: left;
                text-align: center;
            }
        }
        li:nth-child(3n) {
            margin-right: 0;
        }
    }
    .transport-list {
        li:last-child {
            border-bottom: 1px solid @boderColor !important;
        }
    }
}
.orderTransportList {
    margin-top: 2.2rem;
    .order-content {
        .order-list {
            p {
                height: 0.85rem;
                line-height: 0.85rem;
            }
            p:first-child {
                margin-top: 1.25rem;
                img {
                    margin-top: 0;
                }
            }
            p:nth-of-type(2) {
                margin-top: 0.85rem;
                em {
                    color: @bgColor;
                    float: right;
                    font-weight: normal;
                    font-family: 'pfb';
                    font-style: normal;
                }
            }
            p:nth-of-type(3) {
                margin-top: 0.85rem;
                margin-bottom: 1.25rem;
            }
        }
    }
}
//新增订单页面
.addNeworder {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-top: 2.2rem;
    font-size: 0.85rem;
    color: #444;
    .material-list {
        .material_list {
            li:last-child {
                border-bottom: 1px solid @boderColor;
            }
        }
        .material_photo_list {
            margin-top: 1.5rem;
        }
    }
    .identity-type {
        width: 100%;
        height: 1.55rem;
        background: @bgColor;
        line-height: 1.55rem;
        span {
            font-size: 0.9rem;
            color: #fff;
            padding-left: 1.1rem;
            font-family: 'pfb';
        }
        i {
            display: inline-block;
            float: right;
            padding-right: 1.1rem;
            font-family: 'pfr';
            font-size: 0.85rem;
            font-style: normal;
            color: #fff;
        }
    }
    .addNeworder-top {
        width: 100%;
        padding: 0 1.1rem;
        box-sizing: border-box;
        p {
            height: 3.35rem;
            width: 100%;
            line-height: 3.35rem;
            border-bottom: 1px solid @boderColor;
            span {
                height: 3.35rem;
                line-height: 3.35rem;
                display: inline-block;
                i {
                    vertical-align: middle;
                    font-size: 1.65rem;
                    padding-right: 0.1rem;
                }
                .active {
                    color: @bgColor;
                }
            }
            span:nth-of-type(1) {
                padding-right: 2.8rem;
            }
            span:nth-of-type(2) {
                padding-right: 1rem;
            }
        }
        textarea {
            width: 100%;
            height: 5.3rem;
            resize: none;
            border-color: #e2e2e2;
            margin-bottom: 1.25rem;
            font-size: 0.8rem;
        }
        h3{
            height: 3.35rem;
            line-height: 3.35rem;
            width: 100%;
            font-size: 0.85rem;
            border-bottom: 1px solid @boderColor;
            font-weight: normal;
            img{
                width: 0.45rem;
                height: 0.45rem;
                display: inline-block;
                margin-left: 0.4rem;
                vertical-align: text-top;
                margin-top: 0.2rem;
            }
            input{
                float: right;
                display: inline-block;
                margin-top: 1rem;
                width: 10rem;
                text-align: left;
                font-size: 0.85rem;
                padding: 2px 0;
                padding-left: 0.15rem;
                box-sizing: border-box;
                border: 1px solid @boderColor;
            }
        }
    }
    
}
.demos-content-padded {
        padding: 0.3rem 0;
        height: 2.5rem;
        margin-bottom: 1.5rem;
        .weui-btn {
            font-size: 0.85rem;
            font-family: 'pfr';
            line-height: 2.5rem;            
        }
        .weui-btn_mini {
            width: 47.4%;
            font-size: 0.8rem;
        }
        .weui-btn_primary{
            background: @bgColor;
        }
    }
.editMaterial{
    margin-top: 2.2rem;
    width: 100%;
    padding: 0 1.1rem;
    height: auto;
    overflow: hidden;
    font-size: 0.85rem;
    box-sizing: border-box;
    p{
        width: 100%;
        height: 3.35rem;
        line-height: 3.35rem;
        border-bottom: 1px solid @boderColor;
        span{
            display: inline-block;
            width: 5rem;
        }
        input{
           padding: 4px 0;
           border-radius: 0.15rem;
           border: 1px solid @boderColor; 
        }
        .materialName,.materialNum{
            width: 10rem;           
        }      
        .proportion,.rate{
            width: 9rem;           
        }
        .materialUnit{
            width: 7.8rem;
        }
        em{
            font-style: normal;
        }
    }
   
}    
.invoice_warp{
    width: 100%;
    height: auto;
    overflow: hidden;
    padding: 0 1.1rem;
    box-sizing: border-box;
    margin-top: 2.2rem;
    .img_list{
        width: 100%;
        height: auto;
        overflow: hidden;
        margin: 1.25rem 0; 
        img{
          width: 3.7rem;
          height: 6.1rem;
          float: left;           
        }
    }
    .weui-uploader__files{
        li{
            width: 3.7rem;
            height: 6.1rem;
            position: relative;
            img{
              width: 3.7rem;
              height: 6.1rem;
              float: left;           
            }
            .delete{
                    width: 1rem;
                    position: absolute;
                    right: 0.25rem;
                    top: 0.25rem;
                    height: auto;
                }
        }
    }
    .weui-uploader__input-box{
        width: 3.85rem;
        height: 6.1rem;
    }
}
//开票信息
.ticketInfo_warp{
    margin-top: 2.2rem;
    width: 100%;
    height: auto;
    padding: 0 1.1rem;
    box-sizing: border-box;
    font-size: 0.85rem;
    p{
        line-height: 3.35rem;
        height: auto;
        width: 100%;
        overflow: hidden;
        border-bottom:1px solid @boderColor;
        span{
            display: inline-block;
            float: left;
            height: auto;
        }
        em{
            font-style: normal;
            font-family: 'pfb';
            float: right;
            width: 80%;
            text-align: right;
        }
        b{
            font-style: normal;
            font-family: 'pfb';
            float: right;
            width: 80%;
            text-align: right;
            line-height: 1.3rem;
            margin: 1rem 0;
        }
    }
    .ticketImg{
        width: 100%;
        height: auto;
        overflow: hidden;
        text-align: center;
        img{
            width: 12rem;
            height: 7.5rem;
            margin: 1.25rem 0;
        }
    }
}
.weui-cells:after{
    border-bottom: 0;
}
.weui-cells:before{
    border-top: 0;
}
.weui-cells_form{
    margin: 1.05rem 0;
}
